﻿<Page x:Class="TelerikWpfApp1.Page1"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="300"
	Title="Page1">
    <Page.Resources>
        <Style x:Key="ButtonStyle" TargetType="Button">
            <Setter Property="Foreground" Value="Red" />
            <Setter Property="FontSize" Value="24" />
        </Style>
    </Page.Resources>
    <Grid>
        <Button Content="依赖属性测试" Style="{StaticResource ButtonStyle}" Width="240" Height="50"/>
        <Button Content="依赖属性测试" Style="{StaticResource ButtonStyle}" Width="240" Height="50" Background="Blue" Margin="30,205,30,45"/>
        <TextBox Text="{Binding Path=UserName}" Height="50" Margin="0,45,0,205" />
    </Grid>
</Page>
